﻿<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2"
	namespace="Buaya.Model" assembly="Buaya.Core">

	<class name="Employee" table="employees">
		<id name="Id">
			<generator class="native"/>
		</id>
		<component name="Name" class="Name">
			<property name="Title"/>
			<property name="Last" column="LastName"/>
			<property name="First" column="FirstName"/>
			<property name="Middle" column="MiddleName"/>
		</component>
		<property name="PrintOnCheckAs"/>
		<property name="SSNo"/>
		<property name="Gender"/>
		<property name="DateOfBirth"/>
		<component name="Address" class="Address">
			<property name="Street1"/>
			<property name="Street2"/>
			<property name="City"/>
			<property name="Zip"/>
		</component>
		<property name="Phone"/>
		<property name="Cellular"/>
		<property name="AltPhone"/>
		<property name="Fax"/>
		<property name="Email"/>
		<property name="Pager"/>
		<property name="PINPager"/>
		<property name="AccountNo"/>
		<property name="IDNo"/>
	</class>

</hibernate-mapping>
